package com.system.dao;

import com.system.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ICategoryDao {

    List<Category> selectAllCategory();

    Category selectCategoryById(int id);

    boolean insertCategory(Category category);

    boolean updateCategory(Category category);

    boolean deleteCategoryById(int id);
}
